package com.hsyt.pms.security.entity;

import com.alibaba.fastjson.JSON;

import java.io.Serializable;
import java.util.Date;

public class RoleFunctionRefDto implements Serializable{

	private static final long serialVersionUID = -8607277362839797691L;

	/** @Fields roleId : 角色表role 主键Id*/
	private long roleId;
	
	/** @Fields functionId : function表主键id*/
	private long functionId;
	
	/** @Fields createTime : 创建时间*/
    private Date createTime;

    /** @Fields updateTime : 最后一次更新时间*/
    private Date updateTime;

	public long getRoleId() {
		return roleId;
	}

	public void setRoleId(long roleId) {
		this.roleId = roleId;
	}

	public long getFunctionId() {
		return functionId;
	}

	public void setFunctionId(long functionId) {
		this.functionId = functionId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
